﻿using Common.Communal;
using MediatR;

namespace Sell.Api.Write.Application.Command.WorkordersCommand
{
    public class WorkorderAddCommand: IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 工单编号
        /// </summary>
        public string WorkorderCode { get; set; }
        /// <summary>
        /// 工单名称
        /// </summary>
        public string WorkorderName { get; set; }
        /// <summary>
        /// 计划生产物品
        /// </summary>
        public string Object { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int WorkorderState { get; set; }
        /// <summary>
        /// 进度
        /// </summary>
        public string progress { get; set; }
        /// <summary>
        /// 工序流程
        /// </summary>
        public int ProcessflowId { get; set; }
    }
}
